using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using Xeml.Document;

namespace Xid.Controls
{
    public partial class OlC_SampleCtrl : OlC_BaseCtrl
    {
        private Sample sample;

        public Sample Sample
        {
            get { return sample; }
            set 
            { 
                sample = value;
                if (sample != null)
                {
                    labelSampleId.DataBindings.Add("Text", sample, "Id");
                }
            }
        }

        public OlC_SampleCtrl()
        {
            InitializeComponent();
        }
    }
}
